﻿using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Eartag.Domain.Model
{
    /// <summary>
    /// 羊只戴标
    /// </summary>
    public class Mark: AuditFields
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? EarNumber { get; set; }
        /// <summary>
        /// 当前电子耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? OldEarTag { get; set; }
        /// <summary>
        /// 新电子耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? NewEarTag { get; set; }
        /// <summary>
        /// 戴标原因
        /// </summary>
        public Reason? Reason { get; set; }
        /// <summary>
        /// 戴标状态
        /// </summary>
        public MarkedCondition? MarkedCondition { get; set; }
    }
}
